

#ifndef __COBJECT_H__
#define __COBJECT_H__

#include "..\Includes\IObject.h"
#include <d3dx9.h>
#include "..\Util\Utilities.h"

namespace Content
{
class CObject : public IObject
{
public:

  CObject();

  virtual void setPos(const float x, const float y, const float z);
  virtual void getPos(float& x, float& y, float& z);
  virtual void moveVec(const float x, const float y, const float z);
  virtual void yaw(const float f);
  virtual void pitch(const float f);
  virtual void roll(const float f);
  virtual void getOrientation(float& yaw, float& pitch, float& roll);
  virtual void setYaw(const float f);
  virtual float getYaw();
  virtual void setPitch(const float f);
  virtual float getPitch();
  virtual void setRoll(const float f);
  virtual float getRoll();

  virtual void setVisible(const bool b); 
  virtual bool isVisible();

protected:
	D3DXVECTOR3 oPos;
	float oYaw,oPitch,oRoll;
  bool visible;
};
}
#endif
